{% extends "message.html" %}

{% load i18n %}

{% block tags %}warning{% endblock %}

{% block message %}
  <a href="{% url 'profile' %}#account" class="btn btn-primary float-end">{% translate "Configure two-factor authentication" %}</a>
  {% if project %}
    {% translate "This project requires two-factor authentication from all contributors. You won’t be able to contribute until you configure it." %}
  {% else %}
    {% translate "You are a member of the team that requires two-factor authentication. You won’t be able to use any of its privileges until you configure 2FA." %}
  {% endif %}
{% endblock message %}
